package com.wu.base;

/**
 * @author wufei
 * @date 2018/3/29/029 12:13
 */
public interface BaseDao<PK,Entity>{

    int deleteByPrimaryKey(Integer sid);


    int insert(Entity entity);


    int insertSelective(Entity entity);


    Entity selectByPrimaryKey(Integer sid);


    int updateByPrimaryKeySelective(Entity entity);


    int updateByPrimaryKey(Entity entity);
}
